﻿using Avalonia;
using Avalonia.Media;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IScreenCapture;
/// <summary>
/// 文本工具扩展
/// </summary>
public interface ITextTool: IAnnotationTool
{
    void SetFont(string family, double size, Color color);
    void InsertText(Point location, string text);
    Task<string> RecognizeTextAsync(Rect region); // OCR 识别
}
